﻿<%@ Page Title="" Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="FormContract.aspx.cs" Inherits="AddCategory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style4
        {
            height: 26px;
        }
        .style5
        {
            height: 26px;
            width: 161px;
        }
        .style6
        {
        }
        .auto-style1 {
            height: 37px;
        }
        .auto-style2 {
            height: 78px;
        }
        .auto-style3 {}
        .auto-style4 {
            height: 37px;
            width: 55px;
        }
        .auto-style5 {
            height: 78px;
            width: 55px;
        }
        .auto-style6 {
            width: 118px;
        }
        .auto-style7 {
            height: 37px;
            width: 118px;
        }
        .auto-style8 {
            height: 78px;
            width: 118px;
        }
        .auto-style9 {
            height: 63px;
        }
        .auto-style10 {
            width: 118px;
            height: 63px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
      <div class="child-main">
    <div class="top-main">
    <div class="title">Form Contract</div>
      </div>
    <div class="content">
        
        <asp:DataList ID="DataList1" runat="server" DataKeyField="ContractID" OnItemCommand="DataList1_ItemCommand">
            <ItemTemplate>
                <table class="add_service" style="width: 100%;">
                    <tr>
                        <td class="auto-style9"></td>
                        <td colspan="1" class="auto-style10"></td>
                        <td class="auto-style9">
                            <div class="title">
                                Service Contract</div>
                        </td>
                        <td class="auto-style9"></td>
                    </tr>
                    <tr>
                        <td class="auto-style1" colspan="2">
                            <asp:Label ID="Label1" runat="server" Text="No. : " style="font-weight: 700"></asp:Label>
                            <asp:Label ID="lbContractID" runat="server" Text='<%# Eval("ContractID") %>'></asp:Label>
                        </td>
                        <td class="auto-style4"></td>
                        <td class="auto-style1"></td>
                        <td class="auto-style1" colspan="2">
                            <asp:Label ID="Label2" runat="server" Text="Date : " style="font-weight: 700"></asp:Label>
                            <asp:Label ID="lbDate" runat="server" Text='<%# Eval("DateActive") %>' ></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <div class="title">
                               • Customer</div>
                        </td>
                        <td class="auto-style3">&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <asp:Label ID="Label3" runat="server" Text="Customer name :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style3" colspan="2">
                            <asp:Label ID="lbCustomerName" runat="server" Text='<%# Eval("CustomerName") %>'></asp:Label>
                        </td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="auto-style1"></td>
                        <td class="auto-style7">
                            <asp:Label ID="Label4" runat="server" Text="Phone :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style4">
                            <asp:Label ID="lbPhone" runat="server" Text='<%# Eval("Phone") %>'></asp:Label>
                        </td>
                        <td class="auto-style1"></td>
                        <td class="auto-style1"></td>
                        <td class="auto-style1"></td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <asp:Label ID="Label5" runat="server" Text="Email :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style3">
                            <asp:Label ID="lbEmail" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
                        </td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="auto-style1"></td>
                        <td class="auto-style7">
                            <asp:Label ID="Label6" runat="server" Text="Address :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style1" colspan="3">
                            <asp:Label ID="lbAddress" runat="server" Text='<%# Eval("Address") %>'></asp:Label>
                        </td>
                        <td class="auto-style1"></td>
                    </tr>
                    <tr>
                        <td class="auto-style2"></td>
                        <td class="auto-style8">
                            <div class="title">
                               • Service</div>
                        </td>
                        <td class="auto-style5"></td>
                        <td class="auto-style2"></td>
                        <td class="auto-style2"></td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <asp:Label ID="Label7" runat="server" Text="Service category :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style3" colspan="2">
                            <asp:Label ID="lbServiceCategory" runat="server" Text='<%# Eval("ServiceName") %>'></asp:Label>
                        </td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <asp:Label ID="Label8" runat="server" Text="Service :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style3" colspan="2">
                            <asp:Label ID="lbSubService" runat="server" Text='<%# Eval("SubName") %>'></asp:Label>
                        </td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <asp:Label ID="Label9" runat="server" Text="Plan :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style3" colspan="2">
                            <asp:Label ID="lbPaymentMethod" runat="server" Text='<%# Eval("PaymentName") %>'></asp:Label>
                        </td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <asp:Label ID="Label10" runat="server" Text="Note :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style3" colspan="2">
                            <asp:Label ID="lbNote" runat="server" Text='<%# Eval("Note") %>'></asp:Label>
                        </td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">&nbsp;</td>
                        <td class="auto-style3">&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <asp:Label ID="Label11" runat="server" Text="Username :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style3">
                            <asp:Label ID="lbCustomerID" runat="server" Text='<%# Eval("CustomerID") %>'></asp:Label>
                        </td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <asp:Label ID="Label12" runat="server" Text="Password :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style3">
                            <asp:Label ID="lbPassword" runat="server" Text='<%# Eval("Password") %>'></asp:Label>
                        </td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">&nbsp;</td>
                        <td class="auto-style3">&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <asp:Label ID="Label14" runat="server" Text="Security deposit :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style3">
                            <asp:Label ID="lbDeposit" runat="server" Text='<%# Eval("SecurityDeposit") %>'></asp:Label>
                            $</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <asp:Label ID="Label15" runat="server" Text="Price rental :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style3">
                            <asp:Label ID="lbPriceRental" runat="server" Text='<%# Eval("PriceRental") %>'></asp:Label>
                            $</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">
                            <asp:Label ID="Label16" runat="server" Text="Total price :" style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="auto-style3">
                            <asp:Label ID="lbTotal" runat="server" Text='<%# Eval("TotalAmount") %>'></asp:Label>
                            $</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="auto-style1"></td>
                        <td class="auto-style7"></td>
                        <td class="auto-style1"></td>
                        <td class="auto-style1"></td>
                        <td class="auto-style1"></td>
                        <td class="auto-style1"></td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            <asp:Label ID="Label13" runat="server" Text="* You should change your password."></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            <asp:Label ID="Label17" runat="server" Text="* Security Deposit: It is the charge that will be refunded back to the customer during the time of withdrawal or cancellation."></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="auto-style6">&nbsp;</td>
                        <td class="auto-style3">
                            <asp:Button ID="btnPrint" runat="server" Text="Print Contract" CommandName="select" />
                        </td>
                        <td id="tbContract">&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:DataList>

    </div>
    </div>
</asp:Content>

